package cn.tedu.oa.common.vo;

import java.io.Serializable;
import java.util.List;

public class PageObject<T> implements Serializable {
    /*记录集合*/
    private List<T> records;
    /*总记录数*/
    private int rowCount;
    /*总页数*/
    private int pageCount;
    /*页面大小*/
    private int pageSize;
    /*当前页*/
    private int pageCurrent;

    public List<T> getRecords() {
        return records;
    }

    public void setRecords(List<T> records) {
        this.records = records;
    }

    public int getRowCount() {
        return rowCount;
    }

    public void setRowCount(int rowCount) {
        this.rowCount = rowCount;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageCurrent() {
        return pageCurrent;
    }

    public void setPageCurrent(int pageCurrent) {
        this.pageCurrent = pageCurrent;
    }
}
